package com.cicc.springboot.entity;

import java.io.Serializable;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import java.util.Date;

/**
 * Author: 张月鹿
 */

@Data
@TableName("srm_supplier_basic")
@NoArgsConstructor
public class SrmSupplierBasicEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(name = "id")
    private Long id;

    /**
     * ERP编码
     */
    @ExcelProperty(value = "ERP编码")

    @Column(name = "erp_code")

    private String erpCode;

    /**
     * 供应商名称
     */
    @ExcelProperty(value = "供应商名称")
    @Column(name = "supplier_name")

    private String supplierName;

    /**
     * 英文名称
     */
    @ExcelProperty(value = "英文名称")
    @Column(name = "english_name")

    private String englishName;

    /**
     * 国家
     */
    @ExcelProperty(value = "国家")
    @Column(name = "country")
    private String country;

    /**
     * 省
     */
    @ExcelProperty(value = "省")
    @Column(name = "province")
    private String province;

    /**
     * 城市
     */
    @ExcelProperty(value = "城市")
    @Column(name = "city")
    private String city;

    /**
     * 街道门牌
     */
    @ExcelProperty(value = "街道门牌")
    @Column(name = "street_sign")
    private String streetSign;

    /**
     * 语言
     */
    @ExcelProperty(value = "语言")
    @Column(name = "language")
    private String language;

    /**
     * 电话
     */
    @ExcelProperty(value = "电话")
    @Column(name = "phone")
    private String phone;

    /**
     * 传真
     */
    @ExcelProperty(value = "传真")
    @Column(name = "fax")
    private String fax;

    /**
     * 电邮
     */
    @ExcelProperty(value = "电邮")
    @Column(name = "email")
    private String email;

    /**
     * 邮编
     */
    @ExcelProperty(value = "邮编")
    @Column(name = "postcode")
    private String postcode;

    /**
     * 网址
     */
    @ExcelProperty(value = "网址")
    @Column(name = "website")
    private String website;

    /**
     * 账号组
     */
    @ExcelProperty(value = "账号组")
    @Column(name = "account_group")
    private String accountGroup;

    /**
     * 抬头描述
     */
    @ExcelProperty(value = "抬头描述")
    @Column(name = "header_description")
    private String headerDescription;

    /**
     * 增值税登记号
     */
    @ExcelProperty(value = "增值税登记号")
    @Column(name = "vat_registration_number")
    private String vatRegistrationNumber;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改人
     */
    @ExcelProperty(value = "修改人")
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 租户ID
     */
    @ExcelProperty(value = "租户ID")
    @Column(name = "tenant_id")
    private Long tenantId;

    /**
     * 关联租户id
     */
    @ExcelProperty(value = "关联租户id")
    @Column(name = "ref_tenant_id")
    private Long refTenantId;

    /**
     * 统一信用证代码
     */
    @ExcelProperty(value = "统一信用证代码")
    @Column(name = "credit_code")
    private String creditCode;

    /**
     * 租户关联状态 : 0 未关联 1 邀约 2 已关联 3 已拒绝
     */
    @ExcelProperty(value = "租户关联状态")
    @Column(name = "tenant_state")
    private String tenantState;

    /**
     * 数据来源（0:邀请注册  1:ERP  2.手工添加）
     */
    @ExcelProperty(value = "数据来源")
    @Column(name = "data_source")
    private String dataSource;


}
